package study.kit.eggs.exception.param;

public class EmptyValueException extends ParamException {

    private static final String ERR_CODE = "1001";

    private static final String ERR_DESC = "参数值为空[%s]";

    public EmptyValueException() {
        super(ERR_CODE, String.format(ERR_DESC, ""));
    }

    public EmptyValueException(String paramName) {
        super(ERR_CODE, String.format(ERR_DESC, paramName));
    }
}
